package com.category.douyijia.utils;

/**
 * 创建线程接口, 定制线程属于哪一个group, 是否为守护线程, 优先级, 名字等
 * @author JunfengLiu
 * date time:2021-8-3 18:40:43
 */
public interface ThreadFactory {

    /**
     * 创建定制化线程
     * @param runnable
     * @return thread
     */
    Thread createThread(Runnable runnable);

}